﻿<!DOCTYPE html>
<html lang="es">
    <head>
        <script type="text/javascript">


            window.onscroll = scroll;
            function scroll() {
                //coge el valor del scroll en pixeles
                var sc = window.pageYOffset;
                var div = document.getElementById('carro');
                document.getElementById("w").innerHTML = sc;
                if (sc < 250) {
                    div.style.position = "fixed";

                    div.style.top = 283-sc+"px";
                } else if (sc > 250) {
                    div.style.position = "fixed";
                    div.style.top = "10px";
                    div.style.right = 150;
                }
            }
</script>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
        <meta charset="utf-8" />
        <title>@ViewBag.Title - Mochilas y Bolsos</title>
        <link href="~/favicon.ico" rel="shortcut icon" type="image/x-icon" />
        <meta name="viewport" content="width=device-width" />
        @Styles.Render("~/Content/css")
        @Scripts.Render("~/bundles/modernizr")
    </head>
    <body>
        <div id="bodyfalso">
        <header>
            <div class="content-wrapper">
                <div >
                    <p class="site-title">@Html.ActionLink("Mochilas y Bolsos", "Index", "Home")</p>
                </div>
                
              </div>
           
              <div id ="principal">
                        <nav>
                            <ul id="menu">
                                <li>@Html.ActionLink("Inicio", "Index", "Home")</li>
                                <li>@Html.ActionLink("Acerca de", "About", "Home")</li>
                                <li>@Html.ActionLink("Contacto", "Contact", "Home")</li>
                                <li>@Html.ActionLink("Admini", "Admin", "Home")</li>
                            </ul>
                        </nav>
                    </div>
            <div>
                    <section id="login">
                        @Html.Partial("_LoginPartial")
                    </section>
                  
                </div>
        </header>
        <div id="body">

            @RenderSection("featured", required: false)
            <section class="content-wrapper main-content clear-fix">
                
      
                @RenderBody()
            </section>
        </div>
        <footer>
            <div class="content-wrapper">
                <div class="float-left">
                    <p>&copy; @DateTime.Now.Year - Mochilas y Bolsos</p>
                </div>
            </div>
        </footer>

        @Scripts.Render("~/bundles/jquery")
        @RenderSection("scripts", required: false)
            </div>
    </body>
</html>
